package com.etoak.stock.mapper;

import com.etoak.stock.pojo.entity.SysLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 孙有泽
* @description 针对表【sys_log(系统日志)】的数据库操作Mapper
* @createDate 2024-09-15 19:14:18
* @Entity com.etoak.stock.pojo.entity.SysLog
*/
public interface SysLogMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysLog record);

    int insertSelective(SysLog record);

    SysLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysLog record);

    int updateByPrimaryKey(SysLog record);

    int addLog(@Param("sysLog") SysLog sysLog);

    List<SysLog> logPageQuery(@Param("username") String username,@Param("operation") String operation, @Param("startTime") String startTime, @Param("endTime")
    String endTime);
}
